package cn.assumejson.springframework.beans.factory.config;

/**
 * 标记注入的属性是否是Spring Bean
 * @author Mr. Li
 * @version 1.0
 * @since 1.0 2021/11/30 11:30
 */
public class RuntimeBeanNameReference implements BeanReference {

    private final String beanName;

    public RuntimeBeanNameReference(String beanName) {
        this.beanName = beanName;
    }

    @Override
    public String getBeanName() {
        return this.beanName;
    }
}
